home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
dev
/
amos
/
AMOS0398.lzh
/
AMOSLIST
/
000090_amos-request@svcs1.digex.net_Mon Mar 9 09:04:26 1998.msg
< prev
next >
Wrap
Text File
|
1998-04-01
|
2KB
|
54 lines
>From amos-request@svcs1.digex.net Mon Mar 9 09:04:26 1998
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by pony-1.mail.digex.net (8.8.8/8.8.8) with ESMTP id JAA03823
for <mcox@access.digex.net>; Mon, 9 Mar 1998 09:04:26 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id HAA15220
for amos-out; Mon, 9 Mar 1998 07:01:36 -0500 (EST)
Received: from pony-1.mail.digex.net (pony-1.mail.digex.net [204.91.241.5])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id HAA15217
for <amos-list@svcs1.digex.net>; Mon, 9 Mar 1998 07:01:31 -0500 (EST)
Received: from relay.technocom.net (relay.technocom.net [194.6.96.11])
by pony-1.mail.digex.net (8.8.8/8.8.8) with ESMTP id HAA05422
for <amos-list@access.digex.net>; Mon, 9 Mar 1998 07:01:29 -0500 (EST)
Received: from mailgate.bacg.com ([195.172.67.137])
by relay.technocom.net (8.8.5/8.8.5) with SMTP id NAA21486
for <amos-list@access.digex.net>; Mon, 9 Mar 1998 13:05:20 GMT
Message-Id: <TFSJNJTC@bacg.com>>
From: "Wayne O'Donnell" <wo'donnell@bacg.com>
Date: Mon, 9 Mar 1998 12:01:31 +0000
To: amos-list@access.digex.net, l.a.atkins@uclan.ac.uk
Subject: Re: help me please...
MIME-version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Mailer: TFS Gateway /310000000/310102093/310102123/310460310/
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by svcs1.digex.net id HAA15218
Status: O
X-Status:
>> Ok how will do to make amos to understand that i want to threat this
>> as a number instead of an ascii value?
>Isnt this ASC ? or is this some other language thats bouncing round
>my head!
>a=asc("5") sets a to 5 ????
This is AMOS but does the opposite of what you are thinking.
It would set 'a' to the ASCII value of the string "5".
What you want to use is VAL I think (although I have forgotten what you were
originally trying to do now!).
But, remembering bits, you were PEEKing a value from memory and trying to do
some maths on the result...
so a bit of your code is a=PEEK(start(16)) which returns the ASCII value of
"5", you need to convert the ASCII value to a string using CHR$, then
convert the string into a numeric...
a=(VAL(CHR$(PEEK(Start(16)))
Wayne.